/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.common.dataset;

/**
 * @author vacoor
 */
public interface RecordConsumer {
    int SKIP_RECORD = 0;
    int READ_RECORD = 1;
    int CONTINUE_READ = 2;
    int END_READ = 3;

    int onStartRecord();

    void onRecord(Record record) throws DatasetException;

    int onEndRecord();

}
